package org.mspring.mlog.dao;

import org.mspring.mlog.entity.ResourceEntity;
import org.mspring.nbee.db.dao.IBaseDao;

import java.util.List;

/**
 * @author Gao Youbo
 * @since 2014-09-10 11:44:46
 */
public interface ResourceEntityDao extends IBaseDao<ResourceEntity> {

    /**
     * 根据角色查询角色对应资源
     *
     * @param roleId
     * @return
     */
    public List<ResourceEntity> listByRole(long roleId);
}
